package com.duang.framework.render;

import java.io.IOException;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
 * @deprecated
 * @author admin
 * 
 */
public class OutViewRender extends AbstractContentViewRender {

	@Override
	public void render(String path, HttpServletRequest req,
			HttpServletResponse resp) throws RenderException {
		try {
			resp.getWriter().write(req.getAttribute("content").toString());
		} catch (IOException e) {
			throw new RenderException(e);
		}

	}

}
